<template>
  <div class="goodslist">
    <goods-list-items v-for="item in goods" :goods-item="item"> </goods-list-items>
  </div>
</template>

<script>
import GoodsListItems from "./Goodslistitems.vue";
export default {
  name: "GoodsList",
  components: {
    GoodsListItems,
  },
  props: {
    goods: {
      type: Array,
      default() {
        return [];
      },
    },
  },
};
</script>


<style scoped>
.goodslist{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20vw;
}
</style>